//
//  SXHFileMangaer.h
//  ZLZKBaseUtils
//
//  Created by sxh on 2020/10/3.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface SXHFileManager : NSObject

+ (instancetype)sharedInstace;

/**
 根据传入协议名称和appid创建相关文件夹
 */
- (void)createWorkPath:(NSString *)agreementName
             withAppid:(NSString *)appid;

/**
 将bundle中widget对应的appid的目录文件拷贝到工作目录下的widget中 是否强制覆盖
 */
- (void)copyDirectoryToWorkPath:(NSString *)agreementName
                      withAppid:(NSString *)appid
                        isForce:(BOOL)force;

- (BOOL)moveFolderFrom:(NSString *)filePath
                    to:(NSString *)toPath;

@end

NS_ASSUME_NONNULL_END
